package com.cloudbroker.bcs.platform.ltb.bizexport.t2.admin;

import com.cloudbroker.bcs.platform.ltb.bizapi.service.admin.AdminBizService;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.admin.back.*;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.admin.vo.*;
import com.cloudbroker.bcs.platform.ltb.bizapi.t2service.admin.AdminT2BizService;
import com.hundsun.jresplus.remoting.impl.annotation.ServiceParam;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by tianrui on 2016/7/18.
 */
@Service
public class AdminT2 implements AdminT2BizService {

    @Resource
    private AdminBizService adminBizService;
    @Override
    public LeaderRegisterBack leader_register(@ServiceParam("param")LeaderIDRegForm form) {
        return adminBizService.leader_register(form);
    }

    @Override
    public UserQueryListBack func_user_query_list(@ServiceParam("param") AdminUserListQueryForm form) {
        return adminBizService.user_query_list(form);
    }

    @Override
    public LeaderUpdateJobStateBack func_leader_update_job_state(@ServiceParam("param") LeaderUpdateJobStateForm form) {
        return adminBizService.leader_update_job_state(form);
    }

    @Override
    public LeaderResetPwdBack func_leader_reset_password(@ServiceParam("param") LeaderResetPwdForm form) {
        return adminBizService.leader_reset_password(form);
    }

    @Override
    public LeaderUpdateAliasName func_leader_update_alias_name(@ServiceParam("param") LeaderUpdateAliasNameForm form) {
        return adminBizService.func_leader_update_alias_name(form);
    }
}
